<template>
    <el-tabs v-model="activeName" @tab-click="handleChangeTab">
        <el-tab-pane label="媒资列表" name="mediasharelist">
            <media-share-list :packageid="packageid" :corppartnerid="corppartnerid" :corppartnername="corppartnername" ref="mediaShareListRef" />
        </el-tab-pane>
        <!--<el-tab-pane label="素材列表" name="materialsharelist">
            素材列表
        </el-tab-pane>
        <el-tab-pane label="频道管理" name="channelshare">
            频道管理
        </el-tab-pane>-->
    </el-tabs>
</template>

<script>
    import { ref } from 'vue'
    import {useRoute} from 'vue-router'
    import MediaShareList from '../components/media/mediaShareList'
    export default {
        name: "",
        components: {
            MediaShareList
        },
        setup() {
            const route = useRoute()
            const packageid = parseInt(route.query.packageid)
            const corppartnerid = parseInt(route.query.corppartnerid)
            const corppartnername = route.query.corppartnername
            const activeName = ref('mediasharelist')

            const handleChangeTab = () => {

            }
            return {
                packageid,
                corppartnerid,
                corppartnername,
                activeName,
                handleChangeTab
            }
        }
    }
</script>

<style scoped  lang="scss">

</style>